import request from '@/utils/request'

// 查询学生跟进信息列表
export function listTracing(query) {
  return request({
    url: '/edu/tracing/list',
    method: 'get',
    params: query
  })
}

// 查询学生跟进信息详细
export function getTracing(tracingId) {
  return request({
    url: '/edu/tracing/' + tracingId,
    method: 'get'
  })
}

// 新增学生跟进信息
export function addTracing(data) {
  return request({
    url: '/edu/tracing',
    method: 'post',
    data: data
  })
}

// 修改学生跟进信息
export function updateTracing(data) {
  return request({
    url: '/edu/tracing',
    method: 'put',
    data: data
  })
}

// 删除学生跟进信息
export function delTracing(tracingId) {
  return request({
    url: '/edu/tracing/' + tracingId,
    method: 'delete'
  })
}

// 导出学生跟进信息
export function exportTracing(query) {
  return request({
    url: '/edu/tracing/export',
    method: 'get',
    params: query
  })
}